import java.awt.Color;
import java.awt.Graphics2D;

public class EmptyBlock extends Block {
	private Color color;
	public EmptyBlock() {
		super(null);
		isMoveable = true;
		isRemovable = true;
		color = new Color(0X4C9900);
	}
	
	@Override
	public void draw(Graphics2D g2d) {	
		g2d.setColor(color);
		g2d.fillRect(getX(), getY(), getEntityWidth(), getEntityHeight());
	}

	public void changeColour(boolean changeColour) {
		if(changeColour){
			color = Color.red;
		} else {
			color = new Color(0X4C9900);
		}
		
	}
}
